package com.springboot.multiplethread.service;

import com.alibaba.fastjson2.JSONObject;

import java.util.Map;
import java.util.concurrent.Future;

/**
 * 服务接口
 *
 * @author sam
 */
public interface MyService {

    Future<JSONObject> queryViaMultipleThread1();

    Future<JSONObject> queryViaMultipleThread2();

    Future<JSONObject> queryViaMultipleThread3();

    Map<String, Object> queryOrder();

    Map<String, Object> queryInventory();

    Map<String, Object> queryItems();

    Map<String, Object> queryAsyn();
}
